<?php if ( ! defined( 'ABSPATH' ) ) { die; } // Cannot access pages directly.
// ===============================================================================================
// -----------------------------------------------------------------------------------------------
// METABOX OPTIONS
// -----------------------------------------------------------------------------------------------
// ===============================================================================================
$options      = array();



// -----------------------------------------
// Post Metabox Options                    -
// -----------------------------------------
//幻灯片
$options[]    = array(
  'id'        => 'article_options',
  'title'     => '文章设置',
  'post_type' => 'post',
  'context'   => 'normal',
  'priority'  => 'high',
  'sections'  => array(

    array(
      'name'   => 'slider_section_1',
      'fields' => array(
array(
          'id'        => 'image_header',
          'type'      => 'image',
          'title'     => '顶部大图',
          'desc'      => '参考分辨率（1400*800）'
        ),
array(
          'id'        => 'subtitle',
          'type'      => 'text',
          'title'     => '副标题',
          'desc'      => ''
        ),
array(
           'id'        => 'author_name',
           'type'      => 'text',
           'title'     => '作者署名',
           'desc'      => ''
          ),
          array(
              'id'        => 'author_img',
              'type'      => 'image',
              'title'     => '作者头像',
              'desc'      => '参考分辨率（400*400）'
          ),
          array(
              'id'        => 'list_img',
              'type'      => 'image',
              'title'     => '列表配图',
              'desc'      => '参考分辨率（300*600）'
          ),

      ),
    ),

  ),
);



CSFramework_Metabox::instance( $options );
